package com.ruoyi.safe.mapper;

import java.util.List;
import com.ruoyi.safe.domain.ListMaintenance;
import org.apache.ibatis.annotations.Mapper;

/**
 * 养护清单Mapper接口
 * 
 * @author buxi
 * @date 2023-11-06
 */
@Mapper
public interface ListMaintenanceMapper 
{
    /**
     * 查询养护清单
     * 
     * @param id 养护清单主键
     * @return 养护清单
     */
    public ListMaintenance selectListMaintenanceById(Long id);

    /**
     * 查询养护清单列表
     * 
     * @param listMaintenance 养护清单
     * @return 养护清单集合
     */
    public List<ListMaintenance> selectListMaintenanceList(ListMaintenance listMaintenance);
    /**
     * 查询养护清单列表
     *
     * @param listMaintenance 养护清单
     * @return 养护清单集合
     */
    public List<ListMaintenance> selectListMaintenanceListAll(ListMaintenance listMaintenance);
    /**
     * 新增养护清单
     * 
     * @param listMaintenance 养护清单
     * @return 结果
     */
    public int insertListMaintenance(ListMaintenance listMaintenance);

    /**
     * 修改养护清单
     * 
     * @param listMaintenance 养护清单
     * @return 结果
     */
    public int updateListMaintenance(ListMaintenance listMaintenance);

    /**
     * 删除养护清单
     * 
     * @param id 养护清单主键
     * @return 结果
     */
    public int deleteListMaintenanceById(Long id);

    /**
     * 批量删除养护清单
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteListMaintenanceByIds(Long[] ids);
}
